/*
 * XML Type:  Responsibility
 * Namespace: http:///org/isistan/flabot/coremodel.ecore
 * Java type: org.isistan.flabot.coremodelEcore.Responsibility
 *
 * Automatically generated - do not modify.
 */
package org.isistan.flabot.coremodelEcore;


/**
 * An XML Responsibility(@http:///org/isistan/flabot/coremodel.ecore).
 *
 * This is a complex type.
 */
public interface Responsibility extends org.isistan.flabot.coremodelEcore.BehavioralFeatureModel
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Responsibility.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFBDCFB7615E0FAB3CF0394CF3AD1FE99").resolveHandle("responsibility1ab0type");
    
    /**
     * Gets array of all "preconditions" elements
     */
    org.isistan.flabot.coremodelEcore.Condition[] getPreconditionsArray();
    
    /**
     * Gets ith "preconditions" element
     */
    org.isistan.flabot.coremodelEcore.Condition getPreconditionsArray(int i);
    
    /**
     * Returns number of "preconditions" element
     */
    int sizeOfPreconditionsArray();
    
    /**
     * Sets array of all "preconditions" element
     */
    void setPreconditionsArray(org.isistan.flabot.coremodelEcore.Condition[] preconditionsArray);
    
    /**
     * Sets ith "preconditions" element
     */
    void setPreconditionsArray(int i, org.isistan.flabot.coremodelEcore.Condition preconditions);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "preconditions" element
     */
    org.isistan.flabot.coremodelEcore.Condition insertNewPreconditions(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "preconditions" element
     */
    org.isistan.flabot.coremodelEcore.Condition addNewPreconditions();
    
    /**
     * Removes the ith "preconditions" element
     */
    void removePreconditions(int i);
    
    /**
     * Gets array of all "postconditions" elements
     */
    org.isistan.flabot.coremodelEcore.Condition[] getPostconditionsArray();
    
    /**
     * Gets ith "postconditions" element
     */
    org.isistan.flabot.coremodelEcore.Condition getPostconditionsArray(int i);
    
    /**
     * Returns number of "postconditions" element
     */
    int sizeOfPostconditionsArray();
    
    /**
     * Sets array of all "postconditions" element
     */
    void setPostconditionsArray(org.isistan.flabot.coremodelEcore.Condition[] postconditionsArray);
    
    /**
     * Sets ith "postconditions" element
     */
    void setPostconditionsArray(int i, org.isistan.flabot.coremodelEcore.Condition postconditions);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "postconditions" element
     */
    org.isistan.flabot.coremodelEcore.Condition insertNewPostconditions(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "postconditions" element
     */
    org.isistan.flabot.coremodelEcore.Condition addNewPostconditions();
    
    /**
     * Removes the ith "postconditions" element
     */
    void removePostconditions(int i);
    
    /**
     * Gets array of all "coreModel" elements
     */
    org.isistan.flabot.coremodelEcore.CoreModel[] getCoreModelArray();
    
    /**
     * Gets ith "coreModel" element
     */
    org.isistan.flabot.coremodelEcore.CoreModel getCoreModelArray(int i);
    
    /**
     * Returns number of "coreModel" element
     */
    int sizeOfCoreModelArray();
    
    /**
     * Sets array of all "coreModel" element
     */
    void setCoreModelArray(org.isistan.flabot.coremodelEcore.CoreModel[] coreModelArray);
    
    /**
     * Sets ith "coreModel" element
     */
    void setCoreModelArray(int i, org.isistan.flabot.coremodelEcore.CoreModel coreModel);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "coreModel" element
     */
    org.isistan.flabot.coremodelEcore.CoreModel insertNewCoreModel(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "coreModel" element
     */
    org.isistan.flabot.coremodelEcore.CoreModel addNewCoreModel();
    
    /**
     * Removes the ith "coreModel" element
     */
    void removeCoreModel(int i);
    
    /**
     * Gets the "description" attribute
     */
    java.lang.String getDescription();
    
    /**
     * Gets (as xml) the "description" attribute
     */
    org.apache.xmlbeans.XmlString xgetDescription();
    
    /**
     * True if has "description" attribute
     */
    boolean isSetDescription();
    
    /**
     * Sets the "description" attribute
     */
    void setDescription(java.lang.String description);
    
    /**
     * Sets (as xml) the "description" attribute
     */
    void xsetDescription(org.apache.xmlbeans.XmlString description);
    
    /**
     * Unsets the "description" attribute
     */
    void unsetDescription();
    
    /**
     * Gets the "preconditions" attribute
     */
    java.lang.String getPreconditions2();
    
    /**
     * Gets (as xml) the "preconditions" attribute
     */
    org.apache.xmlbeans.XmlString xgetPreconditions2();
    
    /**
     * True if has "preconditions" attribute
     */
    boolean isSetPreconditions2();
    
    /**
     * Sets the "preconditions" attribute
     */
    void setPreconditions2(java.lang.String preconditions2);
    
    /**
     * Sets (as xml) the "preconditions" attribute
     */
    void xsetPreconditions2(org.apache.xmlbeans.XmlString preconditions2);
    
    /**
     * Unsets the "preconditions" attribute
     */
    void unsetPreconditions2();
    
    /**
     * Gets the "postconditions" attribute
     */
    java.lang.String getPostconditions2();
    
    /**
     * Gets (as xml) the "postconditions" attribute
     */
    org.apache.xmlbeans.XmlString xgetPostconditions2();
    
    /**
     * True if has "postconditions" attribute
     */
    boolean isSetPostconditions2();
    
    /**
     * Sets the "postconditions" attribute
     */
    void setPostconditions2(java.lang.String postconditions2);
    
    /**
     * Sets (as xml) the "postconditions" attribute
     */
    void xsetPostconditions2(org.apache.xmlbeans.XmlString postconditions2);
    
    /**
     * Unsets the "postconditions" attribute
     */
    void unsetPostconditions2();
    
    /**
     * Gets the "coreModel" attribute
     */
    java.lang.String getCoreModel2();
    
    /**
     * Gets (as xml) the "coreModel" attribute
     */
    org.apache.xmlbeans.XmlString xgetCoreModel2();
    
    /**
     * True if has "coreModel" attribute
     */
    boolean isSetCoreModel2();
    
    /**
     * Sets the "coreModel" attribute
     */
    void setCoreModel2(java.lang.String coreModel2);
    
    /**
     * Sets (as xml) the "coreModel" attribute
     */
    void xsetCoreModel2(org.apache.xmlbeans.XmlString coreModel2);
    
    /**
     * Unsets the "coreModel" attribute
     */
    void unsetCoreModel2();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static org.isistan.flabot.coremodelEcore.Responsibility newInstance() {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.isistan.flabot.coremodelEcore.Responsibility parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.isistan.flabot.coremodelEcore.Responsibility) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
